package com.fling.objects;

import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector2;
import com.fling.Constants;

public class WallHandler implements Constants{
	private Wall wallOne;
	//private Wall wallTwo;
	
	public WallHandler(float xPosition){
		wallOne=new Wall(new Vector2(xPosition,0));
		//wallTwo=new Wall(new Vector2(xPosition, SCREEN_HEIGHT+WALL_HEIGHT/2));
	}
	
	public void render(SpriteBatch sb){
		wallOne.render(sb);
		//wallTwo.render(sb);
	}
	
	public void update(float delta){
		wallOne.update(delta);
		//wallTwo.update(delta);
	}
	
	public void delete(){
		wallOne.delete();
	}
	
	public void switchDifficulty(){
		wallOne.switchDifficulty();
	}
}
